home *** CD-ROM | disk | FTP | other *** search
- Shader()
- {
- sortweight("background")
- Pass()
- {
- Pixelshader("Moon.psh")
- tmu()
- {
- Texture()
- {
- Image("SunFace.dds")
- }
-
- }
- tmu()
- {
- TexMod("scale", "const", 1.02, 0, 0, "const", 1.02, 0, 0)
- TexMod("translate", "lin", 0, 0.001, 0, "const", -0.01, 0, 0)
- Texture()
- {
- Mapchannel(0)
- Image("SunFace.dds")
- }
- }
- BlendFunc("src_alpha", "inv_src_alpha")
- Depthfunc("always", 0)
- NoFog()
- }
-
-
- Cull("cw")
- }
-
- Shader()
- {
- sortweight("background")
- Pass()
- {
- tmu()
- {
- colorop("arg1", "tfactor", "tfactor","tfactor")
- alphaop("arg1", "tfactor", "tfactor","tfactor")
- }
- tfactor(1,1,1,1)
- BlendFunc("zero", "one")
- Depthfunc("always", 0)
- NoFog()
- }
-
-
- Cull("cw")
- }
-